<template>
  <keep-alive>
    <router-view></router-view>
  </keep-alive>
  <router-view name="functionList"></router-view>
</template>

<script>
/*eslint-disable */
export default {
  name: "App",
  provide() {
    return {
      reload: this.reload,
    };
  },
  data() {
    return {
      isRouterShow: true,
    };
  },
  methods: {
    async reload() {
      this.isRouterShow = false;
      await this.$nextTick();
      this.isRouterShow = true;
    },
  },
};
</script>

<style lang="less">
body {
  position: fixed;
}
</style>